<style lang="less" scoped>
@import "./Module_Notification.less";
</style>

<template>
  <view class="module-notification">
    <view class="icon-box">
      <image class="icon-img icon-shareit" src="../../static/images/News.png" mode="widthFix" />
      今日话题：
    </view>
    <!-- {{obtNotification.Notions}} -->
    <swiper class="notification-swiper" autoplay vertical>
      <swiper-item class="notification-swiper-item" v-for="item in value">
        <text class="notification-swiper-text" :key="item.id">{{item.title}}</text>
      </swiper-item>
    </swiper>
  </view>
</template>

<script>
import * as types from "@/store/types.js";

export default {
  name: "Module_Notification",
  data() {
    return {
      loading: false,
    };
  },
  props:{
    value:{
      type:Array,
      required:true,
      default:[]
    }
  },
};
</script>